/*
frigOS
Licensed under GPLv3
*/

#include "led.h"

// initialize the LED pins as outputs, and turn all of them off
void initLEDs(void)
{
    // set data direction output
    DDR_LED = DDR_LED | ( DDR_POWER_LED | DDR_PROGRAM_LED | DDR_PLAY_LED | DDR_AUX_LED | DDR_MANAGE_LED | DDR_RXD_LED | DDR_TXD_LED );

    // initially set all LEDs to off;
    PORT_LED = PORT_LED | ( POWER_LED | PROGRAM_LED | PLAY_LED | AUX_LED | MANAGE_LED | RXD_LED | TXD_LED );

} // initLEDs

